package com.ketangpai.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class WorkDTO {
    private Integer id;

    private Integer courseId;

    private Integer type;

    private String title;

    private Integer status;
    private String content;
    private Integer chapterId;
//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime releaseTime;
    private String file;

    private Integer score;

    private Integer process;
    private String activity;
    private Integer isAllowOvertimeSubmission;
    private Integer isShowScore;
}
